<%-- 
    Document   : sidebar
    Created on : Feb 27, 2015, 6:13:44 PM
    Author     : ninkuhack
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="rw-section rw-container right-sidebar">
    <div class="rw-inner clearfix">
        <jsp:include page="sidebar.jsp"></jsp:include>
        <!-- Main content -->
        <div class="rw-column rw-content">

            <div class="rw-row page-breadcrumb">
                <a href="#">Home</a> &raquo; <span>Requests</span>
            </div>
            <div class="rw-row page-title">
                <h1>Requests</h1>
            </div>

            <div class="rw-row">
                <div class="requests-module">

                    <div class="requests-menu clearfix">

                        <div class="links clearfix">
                            <a href="#" class="all active">All</a>
                            <a href="#" class="popular">Popular</a>
                            <a href="#" class="noreplies">No replies</a>
                        </div>

                        <div class="requests-controls clearfix">
                            <a href="#" class="button small white hover-primary">New request</a>
                        </div>

                    </div>

                <c:forEach items="${requestScope.result}" var="post">
                     <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/50-4.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">${post.title}</a></div>
                            <div class="description">${post.content}...</div>
                        </div>
                        <div class="meta">
                            <span class="date">${post.created_date}</span>
                            <span class="activity">1 reply, 5 votes</span>
                            <div class="users">
                                <a href="#" title="Dorothy D."><img src="assets/placeholder/6.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>
                </c:forEach>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/50-2.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                                proident, sunt in culpa qui officia deserunt mollit anim id est laborum...</div>
                            <div class="request-includes">
                                <i class="request-icon fa fa-paperclip" title="Has attachments"></i>
                                <i class="request-icon fa fa-link" title="Has included at least one link"></i>
                                <i class="request-icon fa fa-user" title="Authors only"></i>
                            </div>
                        </div>
                        <div class="meta">
                            <span class="date">30  minutes ago</span>
                            <span class="activity">7 replies, 72 votes</span>
                            <div class="users">
                                <a href="#" title="Michelle Nelson"><img src="assets/placeholder/50-1.jpg" alt="" /></a>
                                <a href="#" title="Sandra Williams"><img src="assets/placeholder/50-3.jpg" alt="" /></a>
                                <a href="#" title="Daniel Thompson"><img src="assets/placeholder/50-4.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/4.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#"><span class="request-mark mark red">Hot</span> Non igitur de improbo, sed de callido</a></div>
                            <div class="description">Immo istud quidem, inquam, quo loco quidque, nisi iniquum postulo, arbitratu meo. Satis est ad hoc responsum. Re mihi non aeque satisfacit, et quidem locis pluribus. Non igitur de improbo, sed de callido improbo quaerimus...</div>
                        </div>
                        <div class="meta">
                            <span class="date">24 september 2014</span>
                            <span class="activity">7 replies, 94 votes</span>
                            <div class="users">
                                <a href="#" title="Sandra Williams"><img src="assets/placeholder/50-3.jpg" alt="" /></a>
                                <a href="#" title="Daniel Thompson"><img src="assets/placeholder/50-4.jpg" alt="" /></a>
                                <a href="#" title="Mark Smith"><img src="assets/placeholder/5.jpg" alt="" /></a>
                                <a href="#" title="Dorothy D."><img src="assets/placeholder/6.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/5.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque naturae; Itaque hic ipse iam pridem est reiectus; Non enim solum Torquatus dixit quid sentiret, sed etiam...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">7 replies, 145 votes</span>
                            <div class="users">
                                <a href="#" title="Daniel Thompson"><img src="assets/placeholder/50-4.jpg" alt="" /></a>
                                <a href="#" title="Dorothy D."><img src="assets/placeholder/6.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/50-4.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque naturae; Itaque hic ipse iam pridem est reiectus; Non enim solum Torquatus dixit quid sentiret, sed etiam...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">1 reply, 5 votes</span>
                            <div class="users">
                                <a href="#" title="Dorothy D."><img src="assets/placeholder/6.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/6.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">0 replies, 145 votes</span>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/4.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Non igitur de improbo, sed de callido improbo quaerimus</a></div>
                            <div class="description">Immo istud quidem, inquam, quo loco quidque, nisi iniquum postulo, arbitratu meo. Satis est ad hoc responsum. Re mihi non aeque satisfacit, et quidem locis pluribus. Non igitur de improbo, sed de callido improbo quaerimus...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">7 replies, 145 votes</span>
                            <div class="users">
                                <a href="#" title="Sandra Williams"><img src="assets/placeholder/50-3.jpg" alt="" /></a>
                                <a href="#" title="Daniel Thompson"><img src="assets/placeholder/50-4.jpg" alt="" /></a>
                                <a href="#" title="Dorothy D."><img src="assets/placeholder/6.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/50-2.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#"><span class="request-mark mark green">Featured</span> Looking for a special asian salad recipe</a></div>
                            <div class="description">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                                proident, sunt in culpa qui officia deserunt mollit anim id est laborum...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">7 replies, 145 votes</span>
                            <div class="users">
                                <a href="#" title="Mark Smith"><img src="assets/placeholder/5.jpg" alt="" /></a>
                                <a href="#" title="Michelle Nelson"><img src="assets/placeholder/50-1.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/5.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque naturae; Itaque hic ipse iam pridem est reiectus; Non enim solum Torquatus dixit quid sentiret, sed etiam...</div>
                            <div class="request-includes">
                                <i class="request-icon fa fa-paperclip" title="Has attachments"></i>
                                <i class="request-icon fa fa-link" title="Has included at least one link"></i>
                            </div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">7 replies, 145 votes</span>
                            <div class="users">
                                <a href="#" title="Daniel Thompson"><img src="assets/placeholder/50-4.jpg" alt="" /></a>
                                <a href="#" title="Dorothy D."><img src="assets/placeholder/6.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/6.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">0 replies, 5 votes</span>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/4.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">0 replies, 2 votes</span>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/50-1.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque naturae; Itaque hic ipse iam pridem est reiectus; Non enim solum Torquatus dixit quid sentiret, sed etiam...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">1 reply, 6 votes</span>
                            <div class="users">
                                <a href="#" title="Sandra Williams"><img src="assets/placeholder/50-3.jpg" alt="" /></a>
                            </div>
                        </div>
                    </div>

                    <div class="request clearfix">
                        <div class="user-avatar">
                            <img src="assets/placeholder/50-2.jpg" alt="" />
                        </div>
                        <div class="details">
                            <div class="title"><a href="#">Sequitur disserendi ratio cognitioque naturae</a></div>
                            <div class="description">Ac tamen hic mallet non dolere. Sequitur disserendi ratio cognitioque naturae; Itaque hic ipse iam pridem est reiectus; Non enim solum Torquatus dixit quid sentiret, sed etiam...</div>
                        </div>
                        <div class="meta">
                            <span class="date">30 september 2014</span>
                            <span class="activity">0 replies, 8 votes</span>
                        </div>
                    </div>


                    <div class="requests-pagination button-block center">
                        <a class="button small nobg primary" href="#">&larr; Prev</a>
                        <a class="button small nobg primary" href="#">...</a>
                        <span class="button small nobg primary current">4</span>
                        <a class="button small nobg primary" href="#">5</a>
                        <a class="button small nobg primary" href="#">6</a>
                        <a class="button small nobg primary" href="#">...</a>
                        <a class="button small nobg primary" href="#">192</a>
                        <a class="button small nobg primary" href="#">Next &rarr;</a>
                    </div>


                </div> <!-- .requests-module -->
            </div> <!-- .rw-row -->

        </div>

    </div> <!-- .rw-inner -->
</div>